package com.dgut.demo.mapper;

import com.dgut.demo.bean.LogsMessage;
import com.dgut.demo.bean.ParamsMessage;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther 虎
 * @Data 2021/2/19 20:07
 * @Version 1.0
 */
@Repository
public interface LogsMapper {
    List<LogsMessage> getAllLogsMessage();
    int addOneLogsMessage(LogsMessage logsMessage);
    List<LogsMessage> getLogsMessageByName(String peoples);
    List<LogsMessage> getLogsMessageByTime(ParamsMessage paramsMessage);
    List<LogsMessage> getLogsMessageByNameAndTime(ParamsMessage paramsMessage);
}
